package com.rjyb.student_management_platform.controller;

import com.rjyb.student_management_platform.dao.testDao;
import com.rjyb.student_management_platform.pojo.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
@RequestMapping("test")
public class test {
    @Autowired
    testDao td;
    @RequestMapping("add")
    public String add(Model model){
       /* System.out.println("ok");
        List<Student> stu = td.stu();
        for (Student student : stu) {
            System.out.println(student.getName());
        }
        model.addAttribute("aa","true");*/
        return "teacher/attendance_table_add";
    }
}
